﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace App.Interface
{
    public interface IPingShen : IDependency
    {
        string GetKaoHeFanWeiKHB(string datetimes,int mbid, string username);
        string GetKaoHeBiaoInfoGZJH(int mkhbid, string username);
        string GetKaoHeBiaoInfo(int mkhbid, string username);
        string GetKaoHeRenYuanList(string username);
        /// <summary>
        /// 使用username获取考核表
        /// </summary>
        /// <param name="username">被考核人username</param>
        /// <returns></returns>
        string GetKaoHeBiaos( string username, string khusername);
        void SavePingShenJieGuo(string str);
        void CreateKaoHeDeFenBiao(int ksid);
        /// <summary>
        /// 获取被考核表
        /// </summary>
        /// <param name="username">考核人</param>
        /// <returns></returns>
        string GetBeiKaoHeBiaos(string username);

        /// <summary>
        /// 获取可微调范围内得分表
        /// </summary>
        /// <param name="zwid"></param>
        /// <returns></returns>
        string GetXiaShuZhiWuYuanGong(string username);
        /// <summary>
        /// 确认下属得分
        /// </summary>
        /// <param name="zwid"></param>
        void QueRenXiaShuDeFen(string username);
        string GetKaoHeWeiTiao(string username, int mbid);
        string GetAllIngKaoHeBiaos(int mbid, string v);

        string GetMyKaoHeBiaosBydatetime(string username,string sssj);
        void UpdateKaoHeBiao_TuiHui(int mkhbid, string username, string yijian);
        string GetAllIngKaoHeBiaosByKeShenHe(string datetimes, int mbid, string username);
        string GetKaoHeHuiZongMoBan(int mbid);
        string GetKaoHeHuiZongDeFen(int mbid, string sssj);
        string GetPingFenRenYuanList(int mkhbid);
        void DelPingFenRenYuan(int mkhbid, string username);
    }
}
